package com.csap.framework.oauth2.server.dao.model;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;
import lombok.experimental.Accessors;

import java.util.Set;

/**
 * <p>
 * 用户独立拥有的权限
 * </p>
 *
 * @author yangchengfu
 * @dateTime 2023-11-22 22:56:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class UserPermissionsDAO {
    /**
     * 用户Id
     */
    private String userId;
    /**
     * 拥有的权限[1,2]
     */
    private Set<String> permissions;

}
